package com.cskaoyan.bean.vo.mall;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author Ajun de BBC
 * @Date 2022/7/16 18:59
 * @Version 1.5
 */
@Data
public class IssueListInfo {

    private Integer id;
    private String question;
    private String answer;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" , timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" , timezone = "GMT+8")
    private Date updateTime;
    private Boolean deleted;

    public IssueListInfo() {
    }

    public IssueListInfo(Integer id, String question, String answer, Date addTime, Date updateTime, Boolean deleted) {
        this.id = id;
        this.question = question;
        this.answer = answer;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }
}
